import java.util.Scanner;
public class ScannerDemo {
    public static void  main(String[] args){
        // 创建对象
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你想要输入的first数字：");
        int i=sc.nextInt();
        System.out.println("请输入你想要输入的second数字：");

        int f=sc.nextInt();
        System.out.println("你输入的first数字是"+i);
        System.out.println("你输入的first数字是"+f);
        System.out.println("两个数字相加的和是"+(i+f));

        sc.close();
    }
}

